<template>
  <a-tabs size="mini" style="background-color: white" v-model:active-key="activePage">
    <a-tab-pane key="InHouse" title="其他入库" />
    <a-tab-pane key="OutHouse" title="其他出库" />
  </a-tabs>
  <!-- <component :is="activePage" /> -->
  <InHouse v-if="activePage == 'InHouse'" />
  <OutHouse v-else />
</template>

<script lang="ts">
  import { defineComponent, ref } from 'vue'
  import InHouse from './inHouse.vue'
  import OutHouse from './outHouse.vue'
  export default defineComponent({
    components: {
      InHouse,
      OutHouse,
    },
    setup() {
      let activePage = ref('InHouse')
      return {
        activePage,
      }
    },
  })
</script>

<style lang="less" scoped>
  :deep(.arco-tabs-content) {
    padding-top: 0 !important;
  }
</style>
